<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib uri="/struts-tags" prefix="s" %>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <base href="<%=basePath%>">
    
    <title>My JSP 'login.jsp' starting page</title>
    
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
	<!--
	<link rel="stylesheet" type="text/css" href="styles.css">
	-->

  </head>
  
  <body>
  <%-- <s:form action="login" method="post">
  <s:textfield name="login.name" label="姓名"></s:textfield>
   <s:password name="login.password" label="密码"></s:password>
   <s:submit value="提交"></s:submit>
  </s:form> --%>
    <form action="login.action" method="post">
    	<table align="center" border=1  width="300" bgcolor=#F5FFE1>
		    <tr><td colspan="2" align="center"  width="250" bgcolor="#CCCCFF">用户登录界面</td></tr>
		    <tr><td width="50">姓名：</td><td><input type="text" name="login.name"/></td></tr>
		    <tr><td width="50">密码：</td><td><input type="password" name="login.password" size=22/></td></tr>
		    <tr><td  align="center" colspan=2><input type="submit" value="登录" />
				 <input type="reset" value="重置" /></td></tr>
    	</table>
    </form>
  </body>
</html>
